<!DOCTYPE html>
<html>
<head>
    <meta charset='UTF-8'>
    <title>逻辑控制</title>
</head>
<body>
<h1>逻辑控制</h1>
<table>
<thead>
<tr>
<th>no</th>
<th>name</th>
<th>age</th>
<th>sex</th>
<th>salary</th>
</tr>
</thead>
<tbody>
@foreach($list as $key => $val)
<tr>
<td>{$key}</td>
<td>{$val['name']}</td>
<td>{$val['age']}</td>
<td>{$val['sex']}</td>
<td>{$val['salary']}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>